﻿<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net"
         xmlns:db="http://www.springframework.net/database">
    <description>业务配置文件</description>
    <!--cache的session缓存-->
    <object id="cacheFacade" parent="BaseTransactionManager">
        <property name="Target">
            <object type="QzgfFrame.Utility.Core.Cache.WebCache,QzgfFrame.Utility">
            </object>
        </property>
    </object>
    
    <!--=====================系统管理begin==============================-->
    <!--=============菜单管理begin===================-->
    <object id="menuFacade" parent="BaseTransactionManager">
        <property name="Target">
            <object type="QzgfFrame.System.MenuManger.Domain.MenuFacadeImpl,QzgfFrame.System">
                <property name="menuRepository" ref="repository.menu"/>
            </object>
        </property>
    </object>
    <!--增强扩展业务处理多模型关连,测试-->
    <object id="menuFacadeEx" parent="BaseTransactionManager">
        <property name="Target">
            <object type="QzgfFrame.Controllers.System.MenuManger.MenuFacadeExImpl,QzgfFrame.Controllers">
                <property name="menuFacade" ref="menuFacade"/>
                <property name="roleFacade" ref="roleFacade"/>
            </object>
        </property>
    </object>
    <!--=============菜单管理end====================-->

    <!--=============角色管理begin===================-->
    <object id="roleFacade" parent="BaseTransactionManager">
        <property name="Target">
            <object type="QzgfFrame.System.RoleManger.Domain.RoleFacadeImpl,QzgfFrame.System">
                <property name="roleRepository" ref="repository.role"/>
            </object>
        </property>
    </object>
    <!--=============角色管理end===================-->

    <!--=============部门信息管理===================-->
    <object id="departmentFacade" parent="BaseTransactionManager">
        <property name="Target">
            <object type="QzgfFrame.System.DepartmentManger.Domain.DepartmentFacadeImpl,QzgfFrame.System">
                <property name="departmentRepository" ref="repository.department"/>
            </object>
        </property>
    </object>
    
    <!--=============用户信息管理===================-->
    <object id="userFacade" parent="BaseTransactionManager">
        <property name="Target">
            <object type="QzgfFrame.System.UserManger.Domain.UserFacadeImpl,QzgfFrame.System">
                <property name="userRepository" ref="repository.user"/>
                <property name="userroleRepository" ref="repository.userrole"/>
                <property name="departmentRepository" ref="repository.department"/>
            </object>
        </property>
    </object>
    
    <!--=============菜单字段管理begin===================-->
    <object id="menufieldFacade" parent="BaseTransactionManager">
        <property name="Target">
            <object type="QzgfFrame.System.MenufieldManger.Domain.MenufieldFacadeImpl,QzgfFrame.System">
                <property name="menufieldRepository" ref="repository.menufield"/>
            </object>
        </property>
    </object>
    <!--=============菜单字段管理end===================-->
    

    <!--=============权限管理begin===================-->
    <object id="permissionsFacade" parent="BaseTransactionManager">
        <property name="Target">
            <object type="QzgfFrame.System.PermissionsManger.Domain.PermissionsFacadeImpl,QzgfFrame.System">
                <property name="menuRepository" ref="repository.menu"/>
                <property name="rolefiledpowerRepository" ref="repository.rolefiledpower"/>
                <property name="rolemenuRepository" ref="repository.rolemenu"/>
                <property name="menufieldRepository" ref="repository.menufield"/>
                <property name="userroleRepository" ref="repository.userrole"/>
            </object>
        </property>
    </object>
    <!--=============权限管理end===================-->
    
    <!--=============短信===================-->
    <object id="smsFacade" parent="BaseTransactionManager">
        <property name="Target">
            <object type="QzgfFrame.System.SmsManger.Domain.SmsFacadeImpl,QzgfFrame.System">
                <property name="serverRepository" ref="repository.sms"/>
            </object>
        </property>
    </object>
    <!--======================系统管理end================================-->



    <!--=======================档案管理begin===============================-->
    <!--========================档案管理end================================-->
    
    
</objects>